package cn.ssm.pojo;

import java.util.Date;

/**
 * 会员表
 * 
 * @author 朱海松
 *
 */
public class Vip {
	private int id;// 会员编号
	private int vipIsActiveId;// 会员状态编号 默认为1、有效
	private int vipTypeId;// 会员类型编号
	private int score;// 积分 默认为0
	private Date createDate;// 创建日期

	public Vip() {

	}

	public Vip(int id, int vipIsActiveId, int vipTypeId, int score, Date createDate) {
		super();
		this.id = id;
		this.vipIsActiveId = vipIsActiveId;
		this.vipTypeId = vipTypeId;
		this.score = score;
		this.createDate = createDate;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getVipIsActiveId() {
		return vipIsActiveId;
	}

	public void setVipIsActiveId(int vipIsActiveId) {
		this.vipIsActiveId = vipIsActiveId;
	}

	public int getVipTypeId() {
		return vipTypeId;
	}

	public void setVipTypeId(int vipTypeId) {
		this.vipTypeId = vipTypeId;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Override
	public String toString() {
		return "Vip [id=" + id + ", vipIsActiveId=" + vipIsActiveId + ", vipTypeId=" + vipTypeId + ", score=" + score
				+ ", createDate=" + createDate + "]";
	}

}
